

package Socket;

import java.io.Serializable;


public class TeclaCliente implements Serializable {

     private static final long serialVersionUID = 16L;
     int codtecla;
     int idcliente;

      public TeclaCliente(){}

     public TeclaCliente(int ct,int id){
         codtecla=ct;
         idcliente=id;
     }
     
    @Override
    public String toString() {
    StringBuilder result = new StringBuilder();
    String NEW_LINE = System.getProperty("line.separator");

    result.append(this.getClass().getName() + " Object {" + NEW_LINE);
    result.append("Cod Tecla: " + codtecla + NEW_LINE);
    result.append("ID cliente: " + idcliente + NEW_LINE);
    result.append("}");

    return result.toString();
    }

}
